﻿using ReadBooks.Comm;
using System;
using System.Collections.Generic;
using System.Text;

namespace ReadBooks.Student.Core
{
   public class Student: EntityBase
    {
        public string Name { get; set; }
        public int Age { get; set; }

        public virtual DateTime CreationTime
        {
            get;
            set;
        }

        public string WxName { get; set; }
        public string WxImg { get; set; }
        public string WxOpenid { get; set; }
    }
    public class ReadRecords: EntityBase
    {
        public Student Student { get; set; }
        public long StudentId { get; set; }
        public Book.Core.Book Book{get;set;}
        public long BookId { get; set; }
        public int TimeSpan { get; set; }
        public int PageCount { get; set; }
        public string Remark { get; set; }
        public virtual DateTime CreationTime
        {
            get;
            set;
        }
    }
}
